import {
  Component, OnInit, ViewEncapsulation, Output, EventEmitter
} from '@angular/core';

@Component({
  selector: 'seed-search',
  templateUrl: './search.component.html',
  styleUrls: ['./search.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class SearchComponent implements OnInit {
  public keywords: string;
  @Output() changed = new EventEmitter();
  constructor() { }

  handleKeywords(keywords) {
   this.changed.emit(keywords);
  }
  ngOnInit() {
  }
}
